Skip to content

cert rotation - #202

Open
JPadovano1483 wants to merge 7 commits into
skupperproject:mainfrom
JPadovano1483:james-certs-test
Open

JPadovano1483 wants to merge 7 commits into
skupperproject:mainfrom
JPadovano1483:james-certs-test

Conversation

@JPadovano1483

@JPadovano1483 JPadovano1483 commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Added certificate rotation handling, both for automatic rotation through cert manager as well as manual rotation via the GUI. TLS secrets now get synced over state-sync to backbone sites. I increased the default certificate expirations so that CAs are not regularly rotating.

For leaf rotation, cert-manager's system of in-place rotation is followed. Cert-manager does have much support for rotating CAs (other that in-place rotation for the CA only. Leaves do not get re-signed). To address this, a new CA certificate is created when the CA is set to rotate and new leaf certificates will be issued under the new CA. The new tree is identical to the expiring tree. The expiring tree is marked as superceded, and the new tree will be served going forward.

With the possible removal of the need for vanCAs, the "vanCA rotation" commit may not be needed here.

@JPadovano1483 JPadovano1483 changed the title James certs test James cert rotation Sep 18, 2026
@JPadovano1483 JPadovano1483 changed the title James cert rotation cert rotation Sep 18, 2026

@fgiorgetti fgiorgetti left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It worked well for me.
I have created a backbone network and rotated multiple certificates many times, CA, and the leaf certs as well.
The sync mechanism seems to be doing its job and the secrets are being updated properly.

One comment I have is related to old resources being left in the VMS namespace (Issuer, CertificateRequests, Certificates, Secrets) as well as TlsCertificate records on the DB. Is there any reason to keep all of the superseded ones?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants